#!/usr/bin/env python
# -*- encoding: utf-8 -*-

from socket import *

clnt_sock = socket(AF_INET, SOCK_STREAM)

clnt_sock.connect(('', 9999))
print "서버 접속"

buff = "Hello, EunSeok~!!"
clnt_sock.send(buff)
print "송신 메시지 [%s]" % buff

recvbuff = clnt_sock.recv(1024)
print "수신 메시지 [%s]" % recvbuff

clnt_sock.close()

